
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>公众号授权给第三方平台 · Diboot微信模块</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-vuejs-2/vue.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="接收公众号消息.html" />
    
    
    <link rel="prev" href="接收componentVerifyTicket.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                



<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../公众号组件.html">
            
                <a href="../公众号组件.html">
            
                    
                    公众号组件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../公众号组件/引入.html">
            
                <a href="../公众号组件/引入.html">
            
                    
                    引入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../公众号组件/配置.html">
            
                <a href="../公众号组件/配置.html">
            
                    
                    配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../公众号组件/获取Service.html">
            
                <a href="../公众号组件/获取Service.html">
            
                    
                    获取Service
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../公众号组件/OAuth认证.html">
            
                <a href="../公众号组件/OAuth认证.html">
            
                    
                    OAuth认证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../公众号组件/JSSDK初始化.html">
            
                <a href="../公众号组件/JSSDK初始化.html">
            
                    
                    JSSDK初始化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../公众号组件/其他系列接口.html">
            
                <a href="../公众号组件/其他系列接口.html">
            
                    
                    其他系列接口
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../企业微信组件.html">
            
                <a href="../企业微信组件.html">
            
                    
                    企业微信组件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../企业微信组件/组件引入.html">
            
                <a href="../企业微信组件/组件引入.html">
            
                    
                    组件引入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../企业微信组件/配置.html">
            
                <a href="../企业微信组件/配置.html">
            
                    
                    配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../企业微信组件/获取Service.html">
            
                <a href="../企业微信组件/获取Service.html">
            
                    
                    获取Service
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../企业微信组件/OAuth认证.html">
            
                <a href="../企业微信组件/OAuth认证.html">
            
                    
                    OAuth认证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../企业微信组件/JSSDK初始化.html">
            
                <a href="../企业微信组件/JSSDK初始化.html">
            
                    
                    JSSDK初始化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="../企业微信组件/其他系列接口.html">
            
                <a href="../企业微信组件/其他系列接口.html">
            
                    
                    其他系列接口
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../微信开放平台组件.html">
            
                <a href="../微信开放平台组件.html">
            
                    
                    微信开放平台组件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="组件引入.html">
            
                <a href="组件引入.html">
            
                    
                    组件引入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="配置.html">
            
                <a href="配置.html">
            
                    
                    配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="初始表.html">
            
                <a href="初始表.html">
            
                    
                    初始表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="接收componentVerifyTicket.html">
            
                <a href="接收componentVerifyTicket.html">
            
                    
                    接收componentVerifyTicket
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.5" data-path="公众号授权给第三方平台.html">
            
                <a href="公众号授权给第三方平台.html">
            
                    
                    公众号授权给第三方平台
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="接收公众号消息.html">
            
                <a href="接收公众号消息.html">
            
                    
                    接收公众号消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="调用公众号接口.html">
            
                <a href="调用公众号接口.html">
            
                    
                    调用公众号接口
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>



                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                

                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >公众号授权给第三方平台</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x516C;&#x4F17;&#x53F7;&#x6388;&#x6743;&#x7ED9;&#x7B2C;&#x4E09;&#x65B9;&#x5E73;&#x53F0;"><b>1. </b>&#x516C;&#x4F17;&#x53F7;&#x6388;&#x6743;&#x7ED9;&#x7B2C;&#x4E09;&#x65B9;&#x5E73;&#x53F0;</a></li><ul><li><span class="title-icon "></span><a href="#&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x6D41;&#x7A0B;"><b>1.1. </b>&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x6D41;&#x7A0B;</a></li><li><span class="title-icon "></span><a href="#&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x9875;&#x9762;"><b>1.2. </b>&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x9875;&#x9762;</a></li></ul></ul></div><a href="#&#x516C;&#x4F17;&#x53F7;&#x6388;&#x6743;&#x7ED9;&#x7B2C;&#x4E09;&#x65B9;&#x5E73;&#x53F0;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="&#x516C;&#x4F17;&#x53F7;&#x6388;&#x6743;&#x7ED9;&#x7B2C;&#x4E09;&#x65B9;&#x5E73;&#x53F0;"><a name="&#x516C;&#x4F17;&#x53F7;&#x6388;&#x6743;&#x7ED9;&#x7B2C;&#x4E09;&#x65B9;&#x5E73;&#x53F0;" class="anchor-navigation-ex-anchor" href="#&#x516C;&#x4F17;&#x53F7;&#x6388;&#x6743;&#x7ED9;&#x7B2C;&#x4E09;&#x65B9;&#x5E73;&#x53F0;"><i class="fa fa-link" aria-hidden="true"></i></a>1. &#x516C;&#x4F17;&#x53F7;&#x6388;&#x6743;&#x7ED9;&#x7B2C;&#x4E09;&#x65B9;&#x5E73;&#x53F0;</h1>
<ul>
<li>&#x5F00;&#x53D1;&#x516C;&#x4F17;&#x53F7;&#x6388;&#x6743;&#x7ED9;&#x7B2C;&#x4E09;&#x65B9;&#x5E73;&#x53F0;&#x524D;&#xFF0C;&#x8BF7;&#x5148;&#x9605;&#x8BFB;<a href="https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&amp;t=resource/res_list&amp;verify=1&amp;id=open1453779503&amp;token=&amp;lang=zh_CN" target="_blank">&#x5B98;&#x65B9;&#x6388;&#x6743;&#x6D41;&#x7A0B;&#x6280;&#x672F;&#x8BF4;&#x660E;</a>&#x3002;</li>
</ul>
<h2 id="&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x6D41;&#x7A0B;"><a name="&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x6D41;&#x7A0B;" class="anchor-navigation-ex-anchor" href="#&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x6D41;&#x7A0B;"><i class="fa fa-link" aria-hidden="true"></i></a>1.1. &#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x6D41;&#x7A0B;</h2>
<ul>
<li>&#x5728;controller&#x5305;&#x4E0B;&#x521B;&#x5EFA;<a href="">WxAuthOpenController</a>&#xFF0C;&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x76F8;&#x5173;&#x6D41;&#x7A0B;&#x3002;</li>
<li>&#x83B7;&#x53D6;&#x5DF2;&#x6388;&#x6743;&#x516C;&#x4F17;&#x53F7;&#x5217;&#x8868;&#xFF0C;&#x5E76;&#x83B7;&#x53D6;&#x6388;&#x6743;&#x94FE;&#x63A5;&#x3002;&#x793A;&#x4F8B;&#x5982;&#x4E0B;&#xFF1A;</li>
</ul>
<pre><code class="lang-java"><span class="hljs-meta">@GetMapping</span>(<span class="hljs-string">&quot;/index&quot;</span>)
<span class="hljs-function"><span class="hljs-keyword">public</span> String <span class="hljs-title">index</span><span class="hljs-params">(HttpServletRequest request, ModelMap modelMap)</span> <span class="hljs-keyword">throws</span> Exception</span>{
    <span class="hljs-keyword">try</span>{
        String redirectUrl = <span class="hljs-string">&quot;http://&quot;</span> + WX_HOST_NAME + WX_HOST_CONTEXT + <span class="hljs-string">&quot;/wxAuthOpen/saveAuthResult&quot;</span>;
        String authUrl = wxOpenService.getWxOpenComponentService().getPreAuthUrl(redirectUrl);
        modelMap.addAttribute(<span class="hljs-string">&quot;authUrl&quot;</span>, authUrl);
    } <span class="hljs-keyword">catch</span> (Exception e){
        logger.error(<span class="hljs-string">&quot;&#x83B7;&#x53D6;&#x6388;&#x6743;&#x94FE;&#x63A5;&#x9519;&#x8BEF;&quot;</span>, e);
    }

    BaseUser orgUser = AppHelper.getCurrentUser();
    Query query = <span class="hljs-keyword">new</span> Query();
    query.add(WxAuthOpen.F.relObjType, Organization.class.getSimpleName())
        .add(WxAuthOpen.F.relObjId, orgUser.getOrgId())
        .add(WxAuthOpen.F.enabled, <span class="hljs-number">1</span>);
    List&lt;WxAuthOpen&gt; modelList = wxAuthOpenService.getModelList(query.build());

    syncAuthInfoList(modelList);
    modelMap.addAttribute(<span class="hljs-string">&quot;modelList&quot;</span>, modelList);

    <span class="hljs-keyword">return</span> view(request, modelMap, <span class="hljs-string">&quot;index&quot;</span>);
}
</code></pre>
<ul>
<li>&#x6388;&#x6743;&#x6210;&#x529F;&#x540E;&#x7684;&#x56DE;&#x8C03;&#x65B9;&#x6CD5;&#xFF0C;&#x7528;&#x6765;&#x5C06;&#x6388;&#x6743;&#x7ED3;&#x679C;&#x540C;&#x6B65;&#x5230;&#x6570;&#x636E;&#x5E93;&#x3002;</li>
</ul>
<pre><code class="lang-java"><span class="hljs-meta">@GetMapping</span>(<span class="hljs-string">&quot;/saveAuthResult&quot;</span>)
<span class="hljs-function"><span class="hljs-keyword">public</span> String <span class="hljs-title">saveAuthResult</span><span class="hljs-params">(HttpServletRequest request, ModelMap modelMap)</span> <span class="hljs-keyword">throws</span> Exception</span>{
     String authorizationCode = request.getParameter(<span class="hljs-string">&quot;auth_code&quot;</span>);
     <span class="hljs-keyword">if</span> (V.isEmpty(authorizationCode)){
         authorizationCode = request.getParameter(<span class="hljs-string">&quot;authorization_code&quot;</span>);
     }

     <span class="hljs-comment">// &#x83B7;&#x53D6;&#x5F53;&#x524D;&#x6388;&#x6743;&#x516C;&#x4F17;&#x53F7;&#x4FE1;&#x606F;</span>
     WxOpenQueryAuthResult authResult = wxOpenService.getWxOpenComponentService().getQueryAuth(authorizationCode);

     <span class="hljs-comment">// &#x5C06;&#x6388;&#x6743;&#x516C;&#x4F17;&#x53F7;&#x4FE1;&#x606F;&#x8BB0;&#x5F55;&#x5230;&#x76F8;&#x5173;&#x8868;&#x4E2D;</span>
     String authAppId = authResult.getAuthorizationInfo().getAuthorizerAppid();
     String refreshToken = authResult.getAuthorizationInfo().getAuthorizerRefreshToken();
     WxAuthOpen wxAuthOpen = wxAuthOpenService.getModelByAppId(authAppId);
     wxAuthOpen = wxAuthOpen == <span class="hljs-keyword">null</span> ? <span class="hljs-keyword">new</span> WxAuthOpen() : wxAuthOpen;
     wxAuthOpen.setAppid(authAppId);
     wxAuthOpen.setAuthorizerRefreshToken(refreshToken);
     wxAuthOpen.setRelObjType(Organization.class.getSimpleName());
     wxAuthOpen.setRelObjId(AppHelper.getCurrentUser().getOrgId());
     wxAuthOpen.setEnabled(<span class="hljs-keyword">true</span>);
     wxAuthOpen.setCreateBy(AppHelper.getCurrentUserId());
     wxAuthOpen.setCreatorName(AppHelper.getCurrentUser().getRealname());

     <span class="hljs-comment">// &#x83B7;&#x53D6;&#x7ED1;&#x5B9A;&#x76EE;&#x6807;&#x7684;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;</span>
     syncAuthInfo(authAppId, wxAuthOpen);
     <span class="hljs-keyword">boolean</span> success = wxAuthOpenService.createOrModify(wxAuthOpen);
     <span class="hljs-keyword">if</span> (!success){
         logger.warn(<span class="hljs-string">&quot;&#x4FDD;&#x5B58;&#x5F00;&#x653E;&#x5E73;&#x53F0;&#x6388;&#x6743;&#x5931;&#x8D25;&quot;</span>);
         addResultMsg(request, <span class="hljs-keyword">false</span>, <span class="hljs-string">&quot;&#x521B;&#x5EFA;&#x6B64;&#x6B21;&#x6388;&#x6743;&#x5931;&#x8D25;&#xFF0C;&#x8BF7;&#x91CD;&#x65B0;&#x6388;&#x6743;&#xFF01;&quot;</span>);
         <span class="hljs-keyword">return</span> index(request, modelMap);
     }

     addResultMsg(request, <span class="hljs-keyword">true</span>, <span class="hljs-string">&quot;&#x7ED1;&#x5B9A;&#x516C;&#x4F17;&#x53F7;&#x6210;&#x529F;&quot;</span>);
     <span class="hljs-keyword">return</span> <span class="hljs-string">&quot;redirect:/&quot;</span> + <span class="hljs-keyword">this</span>.getViewPrefix() + <span class="hljs-string">&quot;/&quot;</span>;
 }
 <span class="hljs-comment">/**
  * &#x901A;&#x8FC7;&#x8BA4;&#x8BC1;&#x7ED3;&#x679C;&#x4FE1;&#x606F;
  * <span class="hljs-doctag">@param</span> modelList
  */</span>
 <span class="hljs-function"><span class="hljs-keyword">private</span> <span class="hljs-keyword">void</span> <span class="hljs-title">syncAuthInfoList</span><span class="hljs-params">(List&lt;WxAuthOpen&gt; modelList)</span></span>{
     <span class="hljs-keyword">for</span> (WxAuthOpen model : modelList){
         syncAuthInfo(model.getAppid(), model);
         wxAuthOpenService.updateModel(model);
     }
 }

 <span class="hljs-comment">/**
  * &#x540C;&#x6B65;&#x7ED1;&#x5B9A;&#x76EE;&#x6807;&#x7684;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;
  * <span class="hljs-doctag">@param</span> appid
  * <span class="hljs-doctag">@param</span> model
  * <span class="hljs-doctag">@throws</span> Exception
  */</span>
 <span class="hljs-function"><span class="hljs-keyword">private</span> <span class="hljs-keyword">void</span> <span class="hljs-title">syncAuthInfo</span><span class="hljs-params">(String appid, WxAuthOpen model)</span></span>{
     <span class="hljs-keyword">try</span>{
         WxOpenAuthorizerInfoResult infoResult = wxOpenService.getWxOpenComponentService().getAuthorizerInfo(appid);
         WxOpenAuthorizerInfo info = infoResult.getAuthorizerInfo();

         model.setNickname(info.getNickName());
         model.setHeadImg(info.getHeadImg());
         model.setPrincipalName(info.getPrincipalName());
         model.setOriginalId(info.getUserName());
         model.setServiceTypeInfo(info.getServiceTypeInfo());
         model.setVerifyTypeInfo(info.getVerifyTypeInfo());
         model.setQrcodeUrl(info.getQrcodeUrl());
         model.setWechatAlias(info.getAlias());
     } <span class="hljs-keyword">catch</span> (Exception e){
         logger.error(<span class="hljs-string">&quot;&#x540C;&#x6B65;&#x7ED1;&#x5B9A;&#x4FE1;&#x606F;&#x5931;&#x8D25;&#xFF0C; appid: &quot;</span> + appid, e);
     }
 }
</code></pre>
<h2 id="&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x9875;&#x9762;"><a name="&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x9875;&#x9762;" class="anchor-navigation-ex-anchor" href="#&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x9875;&#x9762;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2. &#x6DFB;&#x52A0;&#x6388;&#x6743;&#x5904;&#x7406;&#x9875;&#x9762;</h2>
<ul>
<li>&#x6839;&#x636E;<a href="">WxAuthOpenController</a>&#x4E2D;&#x76F8;&#x5173;&#x65B9;&#x6CD5;&#x6DFB;&#x52A0;&#x6388;&#x6743;&#x76F8;&#x5173;&#x9875;&#x9762;&#x3002;</li>
<li>&#x5728;&#x4E0A;&#x9762;&#x7684;java&#x4EE3;&#x7801;&#x793A;&#x4F8B;&#x4E2D;&#xFF0C;&#x6700;&#x5C11;&#x9700;&#x8981;&#x6DFB;&#x52A0;&#x4E00;&#x5F20;&#x6388;&#x6743;&#x9996;&#x9875;&#x9875;&#x9762;&#xFF0C;&#x5728;&#x8FD9;&#x4E2A;&#x9875;&#x9762;&#x4E2D;&#xFF0C;&#x5C06;&#x663E;&#x793A;&#x51FA;&#x5DF2;&#x6388;&#x6743;&#x7684;&#x516C;&#x4F17;&#x53F7;&#x5217;&#x8868;&#xFF0C;&#x5E76;&#x4E14;&#x4F1A;&#x6709;&#x6DFB;&#x52A0;&#x4E86;&#x6388;&#x6743;&#x94FE;&#x63A5;&#x7684;&#x6309;&#x94AE;&#xFF0C;&#x70B9;&#x51FB;&#x540E;&#xFF0C;&#x5C06;&#x4F1A;&#x8C03;&#x51FA;&#x626B;&#x7801;&#x6388;&#x6743;&#xFF0C;&#x6388;&#x6743;&#x6210;&#x529F;&#x540E;&#x91CD;&#x5B9A;&#x5411;&#x5230;&#x9996;&#x9875;&#x9762;&#x3002;</li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                

            </div>

            
                
                <a href="接收componentVerifyTicket.html" class="navigation navigation-prev " aria-label="Previous page: 接收componentVerifyTicket">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="接收公众号消息.html" class="navigation navigation-next " aria-label="Next page: 接收公众号消息">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"公众号授权给第三方平台","level":"1.4.5","depth":2,"next":{"title":"接收公众号消息","level":"1.4.6","depth":2,"path":"微信开放平台组件/接收公众号消息.md","ref":"微信开放平台组件/接收公众号消息.md","articles":[]},"previous":{"title":"接收componentVerifyTicket","level":"1.4.4","depth":2,"path":"微信开放平台组件/接收componentVerifyTicket.md","ref":"微信开放平台组件/接收componentVerifyTicket.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","sharing-plus","anchor-navigation-ex","theme-vuejs-2"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"theme-vuejs-2":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"mode":"float","pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"showLevel":true,"tocLevel1Icon":"fa fa-hand-o-right","tocLevel2Icon":"fa fa-hand-o-right","tocLevel3Icon":"fa fa-hand-o-right","showGoTop":true,"isShowTocTitleIcon":true,"printLog":false,"multipleH1":true,"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false}},"sharing":{"qq":true,"all":["weibo","qq","linkedin","qzone","douban"],"douban":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Diboot微信模块","gitbook":"*","description":"Diboot微信模块"},"file":{"path":"微信开放平台组件/公众号授权给第三方平台.md","mtime":"2018-11-08T08:51:41.019Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-11-10T15:13:58.990Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

